import 'package:flutter/foundation.dart';

class Logger {
  static void log(dynamic data, {StackTrace? stackTrace}) {
    if (kDebugMode) {
      print("Error: $data$stackTrace");
    }
  }

  static void debug(dynamic data) {
    if (kDebugMode) {
      print(data);
    }
  }
}